package com.ruoyi.zsyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 售后产品信息对象 zsyh_after_product
 * 
 * @author yuexl
 * @date 2022-08-22
 */
public class ZsyhAfterProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品Id */
    private String id;

    /** 厂家信息Id */
    @Excel(name = "厂家信息Id")
    private String factoryId;

    /** 产品分类id */
    @Excel(name = "产品分类id")
    private String productType;

    /** 产品品牌 */
    @Excel(name = "产品品牌")
    private String productBrand;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String productModel;

    /** 产品规格 */
    @Excel(name = "产品规格")
    private String productAttribute;

    /** 产品图片 */
    @Excel(name = "产品图片")
    private String productImages;

    /** 产品描述 */
    @Excel(name = "产品描述")
    private String productRemarks;

    /** 常见故障 */
    @Excel(name = "常见故障")
    private String productFault;

    private String typeName;

    private String factoryName;

    private long orderNum;//此产品下单次数

    private String productState;//状态 1正常 2回收站


    private BigDecimal productCheckMoney;


    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setFactoryId(String factoryId) 
    {
        this.factoryId = factoryId;
    }

    public String getFactoryId() 
    {
        return factoryId;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setProductBrand(String productBrand) 
    {
        this.productBrand = productBrand;
    }

    public String getProductBrand() 
    {
        return productBrand;
    }
    public void setProductModel(String productModel) 
    {
        this.productModel = productModel;
    }

    public String getProductModel() 
    {
        return productModel;
    }
    public void setProductAttribute(String productAttribute) 
    {
        this.productAttribute = productAttribute;
    }

    public String getProductAttribute() 
    {
        return productAttribute;
    }
    public void setProductImages(String productImages) 
    {
        this.productImages = productImages;
    }

    public String getProductImages() 
    {
        return productImages;
    }
    public void setProductRemarks(String productRemarks) 
    {
        this.productRemarks = productRemarks;
    }

    public String getProductRemarks() 
    {
        return productRemarks;
    }
    public void setProductFault(String productFault) 
    {
        this.productFault = productFault;
    }

    public String getProductFault() 
    {
        return productFault;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("factoryId", getFactoryId())
            .append("productType", getProductType())
            .append("productBrand", getProductBrand())
            .append("productModel", getProductModel())
            .append("productAttribute", getProductAttribute())
            .append("productImages", getProductImages())
            .append("productRemarks", getProductRemarks())
            .append("productFault", getProductFault())
            .toString();
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(long orderNum) {
        this.orderNum = orderNum;
    }

    public String getProductState() {
        return productState;
    }

    public void setProductState(String productState) {
        this.productState = productState;
    }

    public BigDecimal getProductCheckMoney() {
        return productCheckMoney;
    }

    public void setProductCheckMoney(BigDecimal productCheckMoney) {
        this.productCheckMoney = productCheckMoney;
    }
}
